/**
 * 
 */
package com.zcy.dao.impl;

import java.io.Serializable;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.zcy.dao.UserDao;
import com.zcy.model.User;

/**
 * @author 周成瑜
 * 
 */
@Repository("userDao")
public class UserDaoImpl extends BaseDaoImpl<User> implements UserDao {

	/*public Serializable save(User u) {
		return this.sessionFactory.getCurrentSession().save(u);// 必须使用getCurrentSession，因为session配置给了事务进行管理

	}*/

}
